<?php for ($i=1; $i<9;$i++) { ?>
<li class="l-item  wow fadeIn" data-wow-duration="1s"  >
        <a class="_text_parimary clearfix" href="./course_detail.php?i=1">
            <div class="l-item-img center fl">
               <div class="img _bg_light" style="background-image: url('./../assets/img/staff<?php echo $i; ?>.jpg')" > </div>
            </div>
            <div class="l-item-body">
                <div class="title  oneline">课程标题课程标题课程标题</div>
                <div class="subtitle _text_secondary oneline">课程描述课程描述课程描述课程描述课程描述课程描述</div>
                <div class="simpleinfo around tc">
                    <span>XX老师</span>
                    <span></span>
                    <span class="ion-ios-calendar-outline"> 2017-01-01</span>
                </div>
            </div>
        </a>
        <div class="line1"></div>
</li>
<?php } ?>